{ config, lib, pkgs, ... }:

{
  services.xserver.desktopManager.cinnamon.enable = true;

  services.cinnamon.apps.enable = lib.mkForce false;

  environment = {
    systemPackages = with pkgs; [
      mate.engrampa
      # 一个终端
      #tilix
      cinnamon.cinnamon-screensaver
    ];
    cinnamon.excludePackages = with pkgs; [
      cinnamon.mint-themes
      cinnamon.mint-x-icons
      cinnamon.mint-y-icons
      cinnamon.mint-cursor-themes
    ];
  };
  xdg.portal = {
    enable = true;
    extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
  };
}
